package controllerLayer;

import java.util.List;

import modelLayer.Supplier;
import DBLayer.*;

public class SupplierController {

	private static IFDBSupplier dbSup = new DBSupplier();
	
	
	
	public List<Supplier> getAllSupplier()
	{
		return dbSup.getAll(true);
	}
	
	
	public Supplier searchName(String name, boolean retriveAssociation)
	{
		return dbSup.searchName(name, retriveAssociation);
	}
	
	
	
}
